// maincontrol.h : contains the class for the window that accepts files
// to open them in their appropriate editor windows
//$Id: MainControl.h 33 2009-08-29 05:18:39Z brwarner2 $
#include "WindowFactory.h"

#pragma once

class CMainControl
{
public:
	CMainControl(void);
	~CMainControl(void);

	//Handles the messaging
	LRESULT Message( UINT, WPARAM, LPARAM );

	//Sets the window
	void SetHWND( HWND hWnd ) { m_hWindow = hWnd; }

	//Sends information to the window factory
	static void WindowInfo( WindowInfo& info );

	//Registers the child windows used by the control window
	static void RegisterClasses( void );

private:
	//HWND
	HWND m_hWindow;
};